﻿using Sc.Domain;
using Sc.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Sc.Web.Controllers.WebApi
{
    public class DriverScoreApiController : ApiController
    {
        [HttpPost]
        public object SaveDriverScore([FromBody]DriverScore ent)
        {
            return new DriverScoreService().Add(ent);
        }
    }
}
